import request from '@/utils/request'

// 查询设备采购入厂检验列表
export function listEntrancelist(query) {
  return request({
    url: '/TPurchaseEntryInspection/TPurchaseEntryInspection/list',
    method: 'get',
    params: query
  })
}

// 生产列表子菜单查询
export function listEntrancelistChild(query) {
  return request({
    url: '/TPurchaseEntryInspection/TPurchaseEntryInspection/childlist/' + query.id,
    method: 'get',
    params: query
  })
}

// 下发
export function submitIssue(data) {
  return request({
    url: '/TPurchaseEntryInspection/TPurchaseEntryInspection/issue',
    method: 'post',
    data
  })
}
